##
## Makefile for @PROJET@ in /home/hotgloupi/sandbox/libcobj
##
## Made by Raphaël Londeix
## hotgloupi   <raphael.londeix@gmail.com>
##
## Started on  Sun 30 Jan 2011 12:17:46 AM CET Raphaël Londeix
## Last update Sun 30 Jan 2011 12:17:46 AM CET Raphaël Londeix
##

CC		= gcc

CFLAGS		+= -D_GNU_SOURCE -Wall -Wextra  -std=c99 -ggdb3 -I../

LDFLAGS		= -L../bin  -lcobj

.PHONY: all clean fclean

TARGETS		= string native_array native_stack

all: $(TARGETS)

string: string.o
	$(CC)  string.o -o string $(LDFLAGS)

native_array: native_array.o
	$(CC)  native_array.o -o native_array $(LDFLAGS)

native_stack: native_stack.o
	$(CC)  native_stack.o -o native_stack $(LDFLAGS)

clean:
	rm -f *.o

fclean: clean
	rm -f $(TARGETS)

re: fclean all
